package com.eight.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Q小旭
 * @version 1.0
 */
@ApiModel(value = "管理员权限",description = "权限类")
@Data
@TableName("promession")
public class Promession {

    @ApiModelProperty(value = "权限编号",name = "pid")
    @TableId(type = IdType.AUTO)
    private Integer pid;

    @ApiModelProperty(value = "权限名字",name = "powername")
    private String powername;
}
